package com.zimin.shared.annotation;

import java.lang.annotation.*;

/**
 * <p> 幂等性校验注解</p>
 *
 * @author zimin
 * @since 2021/11/4 11:36 上午
 */
@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Idempotence {

    /**
     * 参数名称
     */
    String paramName() default "idempotence";

}
